adTempus API
PreviousUpNext
IProgramExecutionTask::SuccessRuleScript Property

Gets or sets the script that determines whether the program was successful when the SuccessCriterion is scScript.

C++
__property IScript* SuccessRuleScript;
C#
IScript* SuccessRuleScript;
Visual Basic
Property SuccessRuleScript() As IScript*

If SuccessCriterion is scScript, adTempus runs the SuccessRuleScript when the program finishes. The script must set the global

Result

variable to True to indicate that the program was successful or False to indicate that it was not. 

A SuccessRuleScript can be used, for example, to check whether a file was produced by the program and use that to determine success.

adTempus API Reference version 3.0.0.0, revised 10/30/2008